package com.booklove.service.delivery;

import com.booklove.domain.dto.PageDTO;
import com.booklove.domain.po.Deliver;
import com.baomidou.mybatisplus.extension.service.IService;
import com.booklove.domain.query.DeliverQuery;
import com.booklove.domain.vo.DeliverVO;

/**
 * <p>
 * 派送任务 服务类
 * </p>
 *
 * @author author
 * @since 2024-09-22
 */
public interface DeliverService extends IService<Deliver> {

    /**
     * @description 分页查询请求
     * @author zken
     * @CreateDate 2024/10/19 19:35:21
     */
    PageDTO<DeliverVO> queryDeliversPage(DeliverQuery deliverQuery);

    /**
     * @description 创建一个派送订单
     * @author zken
     * @CreateDate 2024/10/19 19:35:34
     */
    Deliver createDeliver(Integer deliverType, Integer deliverState, Integer startAddressId, Integer endAddressId);
}
